/*
 * Copyright (c) 2015. For Intelligent Group.
 */

package com.intelligent.ispc.core.dto;

import com.intelligent.ispc.common.dto.AbstractValueObject;
import com.intelligent.ispc.utils.DDCategory;

import java.util.List;

/**
 * Created by Peter.Li on 2015/10/30.
 */
public class DataDictionaryDto extends AbstractValueObject {
    private Long id;
    private DDCategory category;
    private String attributeName;
    private String attributeValue;
    private String attributeClass;

    private DataDictionaryDto parent;
    private List<DataDictionaryDto> subDataDictionaries;

    public DDCategory getCategory() {
        return category;
    }

    public void setCategory(DDCategory category) {
        this.category = category;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getAttributeValue() {
        return attributeValue;
    }

    public void setAttributeValue(String attributeValue) {
        this.attributeValue = attributeValue;
    }

    public String getAttributeClass() {
        return attributeClass;
    }

    public void setAttributeClass(String attributeClass) {
        this.attributeClass = attributeClass;
    }

    public List<DataDictionaryDto> getSubDataDictionaries() {
        return subDataDictionaries;
    }

    public void setSubDataDictionaries(List<DataDictionaryDto> subDataDictionaries) {
        this.subDataDictionaries = subDataDictionaries;
    }
    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public DataDictionaryDto getParent() {
        return parent;
    }

    public void setParent(DataDictionaryDto parent) {
        this.parent = parent;
    }
}
